package com.glela.dv.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.glela.dv.dao.IKGetIntegralDao;
import com.glela.dv.model.KGetIntegral;
import com.glela.dv.service.IKGetIntegralService;

/**
 * @author liujie
 * @date 2016年4月15日
 *
 */
@Service("kGetIntegralService")
public class KGetIntegralService extends AbstractSummaryService<KGetIntegral> implements IKGetIntegralService{

	@Autowired
	IKGetIntegralDao kGetIntegralDao;

	@Override
	public Long queryAvgIntegralByDay(String recordDay) {
		return kGetIntegralDao.queryAvgIntegralByDay(recordDay);
	}
	
	protected Class<?> getClazz()
	{
		return KGetIntegral.class;
	}
}
